<html>
<body>
  <table border="1" style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-size: 10.5pt; font-family: Calibri, sans-serif;">
    <tr>
      <th>ID</th>
      <th>客户名称</th>
      <th>域名</th>
      <th>最大用户数</th>
      <th>实际用户数</th>
      <th>有效期</th>
      <th>系统版本</th>
    </tr>

    {% for i = 1, #allres do local t = allres[i] %} {% if i > 1 then %}</tr>{% end %}
    <tr>
      <th>{* i *}</th>
      <th>{* t.name *}</th>
      <th>{* t.domain *}</th>
      <th>{* t.lic_ul *}</th>
      <th>{* t.var_ul *}</th>
      <th>{* t.lic_ed *}</th>
      <th>{* t.var_version *}</th>
      {% end %}</tr>
    <br/>
</body>
</html>